package com.school.chapter03.sequenceTable;

@SuppressWarnings({"all"})
public class RecordNode {
    private Comparable key;//关键字
    private Object element;//数据元素

    public void setKey(Comparable key){
        this.key = key;
    }

    public Comparable getKey() {
        return key;
    }

    public Object getElement() {
        return element;
    }

    public void setElement(Object element) {
        this.element = element;
    }
}
